package com.mjee.dao;

import com.mjee.entity.User;

public interface UserDao {
	
	/**
	 * 
	 * @param user
	 * @return
	 * @throws DaoException
	 */
	public int insertUser(User user);
	
	/**
	 * 
	 * @param userId
	 * @throws DaoException
	 */
	public void deleteUser(int userId);
	
	/**
	 * 
	 * @param user
	 * @throws DaoException
	 */
	public void updateUser(User user);
	
	/**
	 * 
	 * @param userName
	 * @param password
	 * @return
	 * @throws DaoException
	 */
	public User selectUser(String userName, String password);
	
}
